﻿using DataModels.Dto;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Services.OpenDoor;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using Utils;
using static DataModels.Enums.GeneralEnum;

namespace PropertyManagementWebApi.Controllers.OpenDoor
{
    public class Open3UnitController(Open3UnitService Open3UnitService) : BaseController
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public ResponseModel Open3UnitByName(string DoorName)
        {
            return Open3UnitService.Open3UnitByName(DoorName);
        }
    }
}
